*{
    margin: 0;
    padding: 0;
}  

html,body{
    height: 100%;
}

body{
    background-color: #fff !important;
    margin-top:3%;
}


/* 头部导航 */

header{
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

header nav{
    height: 100%;
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;

}

/* 返回标签 */
header a{
    text-decoration: none;
    color: #333333;
    padding-right: 2%;
}

/* 搜索表单 */
header nav form {
    display: inline-block;
    width: 80%;
    background-color: #f7f7f7;
    border-radius: 2.06rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 auto;
    height: 100%;
}


/* 搜索输入框 */
header nav form input{
    background-color: #f7f7f7;
    background: none;
    border: none;
    color: #333333;
    flex:1 1 auto;
    padding: 3%;
    outline: none;
}

/* 提交按钮 */
header nav form button{
    background: none;
    border: none;
    color: #666666;
    flex:0 0 auto;
    padding: 3%;
    outline: none;

}

/* 收藏列表 */
.co-goods{
    width: 90%;
    margin: 0 auto;
    /* margin-top: 3%; */
    /* background-color: rgb(221, 23, 172); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* 收藏的产品 */
.goods{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-top: 3%;
}

/* 产品编号 */
.goods section{
    padding-bottom: 3%;
    color: #666666;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*  产品所有信息*/
.goods .price{
    width: 100%;
    height: 30%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* 产品图片信息 */
.goods img{
    padding-right: 5%;
    width: 40%;
    height: 100%;
}

/* 产品图片右边信息 */
.goods .right{
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /* align-items: ; */
}

/* 产品名称，超出字隐藏 */
.goods .right .hidden{
    display:block;
    color:#333333;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    margin-bottom: 2%;
}

/* 产品目前价格字体 */
.right p{
    padding-right: 0.25rem;
    color:#13a067;
    font-size: 0.8rem;
}

/* 产品收藏价格字体 */
.right p:nth-child(3){
    color:#999999;
    font-size: 0.5rem;
}


.right p span:nth-child(2){
    font-size: 1.45rem;
    font-weight: bolder;
}

/* 取消收藏按钮 */
.right button{
    border-radius: 1.68rem;
    border: #13a067 1px solid;
    color: #13a067;
    background-color: #fff;
    outline: none;
    width: 4.45rem;
    height: 1.75rem;
    line-height: 1.75rem;
    margin-top: 10%;
}
